file chooser: Use a multipress gesture
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jan 2018 00:33:27 +0000 (19:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Jan 2018 19:14:10 +0000 (14:14 -0500)
commit270b6d3a845bccf7ecb697c75bacfcef4c298fa3
treec6b3f0f54b924c16857317b9847f437dd810d802
parentc8a6a1138b4e1772817be661a435dd16941d6445
file chooser: Use a multipress gesture

This replaces the use of ::button-press-event. There's two
issues with this commit:
1) We don't have a good way to do the equivalent of
   gdk_event_triggers_context_menu with gestures
2) We have to defer to and idle to avoid ordering
   issues with the treeviews own gestures
gtk/gtkfilechooserwidget.c
gtk/ui/gtkfilechooserwidget.ui